using System.Text.Json.Serialization;

namespace Eamon.MeituanDotnetSDK.model.ddzh.merchantdata.merchantDataBooking
{
    /// <summary>
    /// 预约数信息
    /// </summary>
    public class BookingDataInfo
    {
        /// <summary>
        /// 全量预约数
        /// </summary>
        [JsonPropertyName("totalBooking")]
        public int? TotalBooking { get; set; }

        /// <summary>
        /// 推广通预约数
        /// </summary>
        [JsonPropertyName("midasBooking")]
        public int? MidasBooking { get; set; }

        /// <summary>
        /// 400电话预约数
        /// </summary>
        [JsonPropertyName("telephoneBooking")]
        public int? TelephoneBooking { get; set; }

        /// <summary>
        /// 平台。0-全部，1-大众点评平台，2-美团平台
        /// </summary>
        [JsonPropertyName("platform")]
        public int? Platform { get; set; }

        public override string ToString()
        {
            return $"BookingDataInfo{{TotalBooking={TotalBooking}, MidasBooking={MidasBooking}, TelephoneBooking={TelephoneBooking}, Platform={Platform}}}";
        }
    }
}
